#include<stdio.h>
#include<string.h>
#define MAXN 20
bool palindrome( char *s )
{
	int n,i;
	n=strlen(s)-1;
	for(i=0;i<=n/2;i++)
	  if(s[i]!=s[n-i])
	    return false;
	return true; 
}
int main()
{
    char s[MAXN];
    scanf("%s",&s);
    if ( palindrome(s)==true )
        printf("Yes\n");
    else
        printf("No\n");
    return 0;
}
 
